<template>
  <div style="height: 80px;background-color: cadetblue;font-size: 20px;line-height: 80px">
    {{hello}}
  </div>
</template>

<script>
import axios from "axios";

export default {
  name: "helloword",
  data() {
    return {
      hello: 'hello'
    }
  },
  mounted() {
    axios.get('http://localhost:9000/hello').then((res) => {
      this.hello = res.data;
    })
  }
}
</script>

<style scoped>

</style>